repo: Check for OSTREE_REPO in ostree_repo_new_default()
authorMatthew Barnes <mbarnes@redhat.com>
Thu, 19 Feb 2015 15:30:25 +0000 (10:30 -0500)
committerMatthew Barnes <mbarnes@redhat.com>
Fri, 20 Feb 2015 01:44:34 +0000 (20:44 -0500)
commit5aa0d51d7a55c48aa986ddbacbeb74e224c2be72
tree7432c8c562df0a71a20d1310c060f834fcc4318c
parent7c267d6089248a0c7976600298b8e0240824ada3
repo: Check for OSTREE_REPO in ostree_repo_new_default()

Convenience feature to avoid having to pass --repo options repeatedly.

Before falling back to the default system repository path, check for a
repository path defined by the OSTREE_REPO environment variable.
doc/ostree.repo.xml
src/libostree/ostree-repo.c